<?php
$cacheDir = substr(dirname(__FILE__), 0, strrpos(__FILE__, "code")).'code/tmp/php-cache/';
$ccb = new LtCacheConfigBuilder;
$ccb->addSingleHost(
	array("adapter" => "phps",
		"host" => $cacheDir
		));
$config["cache.servers"] = $ccb->getServers();



$config["cache.product"]["listdir"] = substr(dirname(__FILE__), 0, strrpos(__FILE__, "code")).'/code/tmp/product-cache/list/';
$config["cache.product"]["detaildir"] = substr(dirname(__FILE__), 0, strrpos(__FILE__, "code")).'/code/tmp/product-cache/detail/';
$config["cache.product"]["listcacheenable"] = "0";
$config["cache.product"]["detailcacheenable"] = "1";
$config["cache.product"]["listcacheperiod"] = "7";
$config["cache.product"]["detailcacheperiod"] = "14";
$config["cache.product"]["maxdirsize"] = "20";